home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / ply15dat.zip / GRID.PI < prev    next >
Text File  |  1992-09-20  |  989b  |  52 lines

  1. // Generic Polyray input File
  2. // Polyray input file: Alexander Enzmann
  3.  
  4. // Set up the camera
  5. viewpoint {
  6.    from <0,15,-30>
  7.    at <0,0,0>
  8.    up <0,1,0>
  9.    angle 30
  10.    hither 1
  11.    resolution 512, 256
  12.    aspect 2
  13.    }
  14.  
  15. background skyblue
  16. light <-10,10, -20>
  17.  
  18. include "..\colors.inc"
  19.  
  20. define blue_ripple
  21. texture {
  22.    noise surface {
  23.       color <0.4, 0.4, 1.0>
  24.       ambient 0.3
  25.       diffuse 0.4
  26.       specular white, 0.7
  27.       reflection 0.5
  28.       microfacet Reitz 10
  29.       normal 2
  30.       frequency 30
  31.       bump_scale 2
  32.       }
  33.    scale <10, 1, 10>
  34.    }
  35.  
  36. define unit_sphere object { sphere <0.5, 0.4, 0.5>, 0.4 }
  37. define pointy_cone object { cone <0.5, 0.0, 0.5>, 0.4, <0.5, 1, 0.5>, 0 }
  38.  
  39. object {
  40.    gridded "grdimg0.tga",
  41.       unit_sphere { shiny_coral }
  42.       unit_sphere { shiny_red }
  43.       pointy_cone { shiny_green }
  44.    translate <-8, 0, -8>
  45.    rotate <0, 30, 0>
  46.    }
  47.  
  48. object {
  49.    disc <0, 0, 0>, <0, 1, 0>, 500
  50.    blue_ripple
  51.    }
  52.